]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Prevent dash from overlapping content
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Mar 2013 22:58:28 +0000 (23:58 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 11 Mar 2013 12:33:05 +0000 (13:33 +0100)
In order to center the view selector, the dash has been moved to a
separate layer, which means that it will overlap the app picker and
search results if the available width is smaller than the maximum
width that the content will request. Fix this by adding enough
horizontal padding to account for the width the dash will have at
its largest icon size.

https://bugzilla.gnome.org/show_bug.cgi?id=695471

data/theme/gnome-shell.css

index 0ff97099819e7a4d5952874e5d7bd850cc74e0d8..1c025ed76256b6b97c60fb4250cf428a83c14426 100644 (file)
@@ -887,8 +887,8 @@ StScrollBar StButton#vhandle:active {
 .search-display > StBoxLayout,
 .all-apps > StBoxLayout,
 .frequent-apps > StBoxLayout {
-    /* horizontal padding to make sure the scrollbar doesn't overlap content */
-    padding: 0px 18px;
+    /* horizontal padding to make sure scrollbars or dash don't overlap content */
+    padding: 0px 88px;
 }
 
 .app-folder-icon {